<%inherit file="/layout/themes/${context.get('h').theme()}.html"/>

## HEADER ELEMENTS

<%def name="title()">${self.main_heading()}</%def>
<%def name="extra_css()"></%def>
<%def name="js()">${h.scripts()}</%def>
<%def name="extra_js()"></%def>

## BODY ELEMENTS

<%def name="left_header()">${h.panel('left-header')}</%def>
<%def name="right_header()">${h.panel('right-header')}</%def>
<%def name="left_sidebar()">${h.panel('left-sidebar')}</%def>
<%def name="right_sidebar()">${h.panel('right-sidebar')}</%def>
<%def name="footer()">${h.panel('footer')}</%def>

<%def name="main_heading()"></%def>

<%def name="primary_tabs()">${h.tabs('primary')}</%def>
<%def name="secondary_tabs()">${h.tabs('secondary')}</%def>
<%def name="vertical_tabs()">${h.tabs('vertical')}</%def>
<%def name="toolbar()"></%def>

<%def name="message_box()">${h.message_box()}</%def>

## TAGS

<%def name="grid(items, cols)">
	% for row in h.distribute(items, int(cols), 'V'):
	<tr>
		% for item in row:
		<td>${caller.body(item) if item else ''}</td>
		% endfor
	</tr>
	% endfor
</%def>